package cn.abcsys.cloud.devops.pipeline.dao;

import java.sql.SQLException;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.abcsys.cloud.devops.pipeline.entity.TaskEvent;

public interface TaskEventMapper {
	public List<TaskEvent> selectEventsByTaskId(@Param("taskId") Integer taskId) throws SQLException;
	public int insertTaskEvent(TaskEvent taskEvent) throws SQLException;
	public TaskEvent selectEventsByTaskIdAndStep(TaskEvent taskEvent) throws SQLException;
	public TaskEvent selectEventsByEventId (@Param("eventId") Integer eventId) throws SQLException;
}
